<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>用户登录</title>
    <!-- 引入css文件 -->
    <link rel="stylesheet" href="../css/login.css"/>
    <!-- 引入js文件 -->
    <script type="text/javascript" src="../js/tools/jquery-3.3.1.min.js"></script>
</head>
<body>
    <div>
        <div class="center">
            <div class="box">
                <h3 class="title">用户登录</h3>
                <form th:action="@{/login}" method="post">
                    <input type="text" id="username" name="username" placeholder="请输入用户名称" th:value="${username}"/><br>
                    <br>
                    <input type="password" id="password" name="password" placeholder="请输入密码"/><br>
                    <br>
                    <div class="loginInfo" th:text="${msg}"></div>
                    <br>
                    <input id="login" type="submit" value="登 录">
                </form>
            </div>
        </div>
    </div>
    <script type="text/javascript" src="../js/login.js"></script>
</body>
</html>